﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BLL
{
    public class ProductBrandBase
    {
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="__news"></param>
        /// <returns></returns>
        public static string Add(Model.ProductBrandBase __news)
        {
            return (new SQLServerDAL.ProductBrandBase()).Add(__news);
        }
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="__news"></param>
        /// <returns></returns>
        public static string Update(Model.ProductBrandBase __news)
        {
            return (new SQLServerDAL.ProductBrandBase()).Update(__news);
        }
        /// <summary>
        /// 查询 
        /// </summary>
        /// <param name="brandid"></param>
        /// <returns></returns>
        public static Model.ProductBrandBase GetObjById(int brandid)
        {
            return (new SQLServerDAL.ProductBrandBase()).GetObjById(brandid);
        }
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="brandid"></param>
        public static void Delete(int brandid)
        {
            (new SQLServerDAL.ProductBrandBase()).Delete(brandid);
        }
    }
}
